package com.sp.api.springbootapi.dao;

import com.sp.api.springbootapi.model.Goods;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface GoodsDao {
    int updateGoodsUseCAS(Goods goods);
    Goods getGoodsById(@Param("id") Integer id);

}